﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace TianShiProject.Models.Contract
{
    /// <summary>
    /// 货主合同管理
    /// </summary>
    public class NewOwnerContract : BasicAggregateRoot<int>
    {
        /// <summary>
        /// 货主合同编号
        /// </summary>
        public string TheShipContractNO { get; set; }
        /// <summary>
        /// 合同标题
        /// </summary>
        public string TheContractTitle { get; set; }
        /// <summary>
        /// 货主单位
        /// </summary>
        public string TheOwnerUnit { get; set; }
        /// <summary>
        /// 货主负责人
        /// </summary>
        public string FreightPrincipal { get; set; }
        /// <summary>
        /// 线路
        /// </summary>
        public int Line { get; set; }
        /// <summary>
        /// 吨运价
        /// </summary>
        public decimal TonsOfFreight { get; set; }
        /// <summary>
        /// 包车条件吨位
        /// </summary>
        public decimal ConditionTonnage { get; set; }
        /// <summary>
        /// 包车金额
        /// </summary>
        public decimal CharterValue { get; set; }
        /// <summary>
        /// 经办人
        /// </summary>
        public string Agent { get; set; }
        /// <summary>
        /// 签订时间
        /// </summary>
        public DateTime SignedTime { get; set; }
        /// <summary>
        /// 合同金额
        /// </summary>
        public decimal TheContractAmount { get; set; }
        /// <summary>
        /// 合同标的或项目说明
        /// </summary>
        public string ProjectDescriptio { get; set; }
        /// <summary>
        /// 合同主要条款/变更条款
        /// </summary>
        public string ChangeTheTerms { get; set; }
        /// <summary>
        /// 合同文本
        /// </summary>
        public string ContractTheText { get; set; }
        /// <summary>
        /// 合同状态
        /// </summary>
        public int ContractStates { get; set; }
        /// <summary>
        /// 审批人
        /// </summary>
        public string TheApprover { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public int IsDelete { get; set; }
        /// <summary>
        /// 异常警报
        /// </summary>
        public int AbnormityWarning { get; set; }
        /// <summary>
        /// 货运状态
        /// </summary>
        public int FreightState { get; set; }
    }
}
